package com.ruoyi.project.dict.hanyuzi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 百度汉字对象 hanyu_zi
 * 
 * @author shixiangwen
 * @date 2021-01-29
 */
public class HanyuZi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 字 */
    @Excel(name = "字")
    private String zi;

    /** 拼音 */
    @Excel(name = "拼音")
    private String pinyin;

    /** 五笔 */
    @Excel(name = "五笔")
    private String wubi;

    /** 部首 */
    @Excel(name = "部首")
    private String bushou;

    /** 繁体字 */
    @Excel(name = "繁体字")
    private String fzi;

    /** 百科解释 */
    @Excel(name = "百科解释")
    private String baike;

    /** 抓取时间 */
    @Excel(name = "抓取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 已入库 */
    @Excel(name = "已入库")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setZi(String zi) 
    {
        this.zi = zi;
    }

    public String getZi() 
    {
        return zi;
    }
    public void setPinyin(String pinyin) 
    {
        this.pinyin = pinyin;
    }

    public String getPinyin() 
    {
        return pinyin;
    }
    public void setWubi(String wubi) 
    {
        this.wubi = wubi;
    }

    public String getWubi() 
    {
        return wubi;
    }
    public void setBushou(String bushou) 
    {
        this.bushou = bushou;
    }

    public String getBushou() 
    {
        return bushou;
    }
    public void setFzi(String fzi) 
    {
        this.fzi = fzi;
    }

    public String getFzi() 
    {
        return fzi;
    }
    public void setBaike(String baike) 
    {
        this.baike = baike;
    }

    public String getBaike() 
    {
        return baike;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("zi", getZi())
            .append("pinyin", getPinyin())
            .append("wubi", getWubi())
            .append("bushou", getBushou())
            .append("fzi", getFzi())
            .append("baike", getBaike())
            .append("createdTime", getCreatedTime())
            .append("status", getStatus())
            .toString();
    }
}
